#ifndef INPUTTESTMODEL_H_JM_20120820
#define INPUTTESTMODEL_H_JM_20120820
/** @file InpuTestModel.h
 * Generator modelu pre kontrolu vstupnych dat.
 * Generovany model len nacita data a vypise ich na vystup.
 **/

#include "ModelGenerator.h"
#include "Slices.h"

namespace jm4bbx {

	class  InputTestModel : public ModelGenerator {
	public:
		
		InputTestModel(const std::string& inputBoxName, 
			const std::string& outputBoxName,
			const std::string& typeName,
			const int columns) {
				
				BoxDescriptorPtr loadData = addBox(inputBoxName);
				BoxDescriptorPtr output = addBox(outputBoxName);
				//BoxDescriptorPtr hashBox = addBox("HASH");

				addSlice<PlainSlice<>>(getModelInputId(), loadData->getBoxId());

				//addSlice<PlainSlice>(loadData->getBoxId(), 
				//	hashBox->getBoxId(), genTypes(typeName, columns));

				//addSlice<PlainSlice>(hashBox->getBoxId(), 
				//	output->getBoxId(), genTypes(typeName, columns));



				addSlice<PlainSlice<>>(loadData->getBoxId(), 
					output->getBoxId(), genTypes(typeName, columns));


				addSlice<PlainSlice<>>(output->getBoxId(), getModelOutputId());

		}


	private:
	};

} // namespace jm4bbx


#endif
